package com.zzj.model.dto.schedule;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

@Data
public class ScheduleUpdateDTO {
    @NotNull(message = "请输入修改日程ID")
    private int id;
    @NotEmpty(message = "请输入用户名")
    private String username;
    @NotEmpty(message = "请输入头像")
    private String avatar;
    @NotEmpty(message = "请输入职工号")
    private String jobNum;
    @NotEmpty(message = "请输入职工姓名")
    private String nurseName;
    @NotEmpty(message = "请输入工作开始时间")
    private String start;
    @NotEmpty(message = "请输入工作结束时间")
    private String end;
}
